







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Finds the last item in the list that satisfies the condition
defined by predicate.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public virtual bool TryFindLast( Predicate<T> predicate, out T foundItem ) |
Visual Basic (Declaration) |
---|
Public Overridable Function TryFindLast ( _ predicate As Predicate(Of T), _ <OutAttribute> ByRef foundItem As T _ ) As Boolean |
Visual C++ |
---|
public: virtual bool TryFindLast ( Predicate<T>^ predicate, [OutAttribute] T% foundItem ) |
Parameters
- predicate
- Predicate<(Of <T>)>
A delegate that defines the condition to check for.
- foundItem
- T%
If true is returned, this parameter receives the last item in the list that satifies the condition defined by predicate.
Return Value
True if an item that satisfies the condition predicate was found. False if no item in the list satisfies that condition.
See Also
ListBase<(Of <T>)> Class
Wintellect.PowerCollections Namespace